package org.heart;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author
 * 心之温
 */
@SpringBootApplication
@MapperScan("org.heart.mapper")
@EnableScheduling
//@EnableMethodCache(basePackages = "org.heart")
@Slf4j(topic = "lml")
public class HeartWdApplication {

	public static void main(String[] args) {

		log.info("======================[ 心之温 ] start  ================");
		SpringApplication.run(HeartWdApplication.class, args);
		log.info("======================[ 心之温 ] 服务启动完成！ ================");
	}

}
